
package ro.qi.framework.sys.hash;

import java.util.Date;

import ro.qi.framework.sys.entities.Entity;

public class ChallengeEntity extends Entity {

	public ChallengeEntity() {
		super();
	}

	public ChallengeEntity(int id) {
		super();
		setId(id);
		select();
	}

	public ChallengeEntity(String text) {
		super();
		setText(text);
		select();
	}

	public void setId(int value) {setValue("id",value);}
	public int getId() {return getIntValue("id");}
	public void setText(String value) {setValue("text",value);}
	public String getText() {return getStringValue("text");}
	public void setDate(Date value) {setValue("date",value);}
	public Date getDate() {return getDateValue("date");}
	public void setExpireDate(Date value) {setValue("expireDate",value);}
	public Date getExpireDate() {return getDateValue("expireDate");}

}
